package com.twq.mmail002.exception;

import com.twq.mmail002.enums.ResultEnum;

import java.sql.ResultSet;

/**
 * @author twq
 * @date 2021/9/2 9:35
 */
public class MallException extends RuntimeException{
    public MallException(String error){
        super(error);
    }
    public MallException(ResultEnum resultEnum){
        super(resultEnum.getMsg());
    }
}
